home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / misc.717 < prev    next >
Text File  |  1992-02-06  |  2KB  |  27 lines

  1. {\rtf0\ansi{\fonttbl\f3\fnil Times-Roman;\f1\fmodern Courier;}
  2. \paperw10640
  3. \paperh8500
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b0\i0\ul0\fs28 Icon App Scaling\
  8.     \
  9. Q: How do I scale the standard 48x48 icons? In general, how do I scale any TIFF or EPS image?
  10. \fc0 \
  11.  
  12. \i \
  13.  
  14. \i0 A:  Start up /NextDeveloper/Demos/Icon.app. Create a new untitled document. Grab the 48x48 icon using the command Grab Selection under the Image menu (Shortcut - Command-g)  and place it in the document.  Bring up the Tools Inspector panel. The scaling tool is the fourth item on the second row of the Marquee/Lasso Options. Scale the icon to the size desired. Note that you must have your icon selected first.  Save the file with the option: "Save Selection". The default setting is "Save Document".  
  15. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc0 \
  16. You can use the same steps to scale any TIFF or EPS image by reading a TIFF or EPS file into a large document. 
  17. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 \
  18.  
  19. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 You can maintain the aspect ratio of the original image (for example, you can keep an icon square) by using the Coordinates readout in the Inspector Panel.  To do so, you just click the Coordinates button.  The button is replaced by a readout that shows the  scale factor in both the x and y axes as you drag the image larger or smaller (the last 2 numbers on the right specify the x and y scale factors respectively).  To maintain the aspect ratio of the original image, you simply make sure the x and y axis scale factors are the same.  For example, to make an icon twice as large, you drag the corner until both scale factors are 200.\
  20.  
  21. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0 \
  22. Valid for 2.0\
  23. \
  24. QA717\
  25. \
  26.  
  27.